import React from "react";

import './index.less';
const MyButtonSm = props => {
    const { children, disabled = false, onClick, active = false, typeClass='' } = props;
    return (
        <div className={`my-button-sm ${active ? 'active' : ''} ${disabled ? 'disabled' : ''} ${typeClass}`} onClick={onClick}>
            <span className="text">{children}</span>
        </div>
    );
};

export default MyButtonSm;